/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.tb_goods_consignment_company.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.thinkgem.jeesite.common.persistence.Page;
import com.thinkgem.jeesite.common.service.CrudService;
import com.thinkgem.jeesite.modules.tb_goods_consignment_company.entity.TbGoodsConsignmentCompany;
import com.thinkgem.jeesite.modules.tb_goods_consignment_company.dao.TbGoodsConsignmentCompanyDao;

/**
 * 托运公司管理Service
 * @author ZhangYangZe
 * @version 2017-05-15
 */
@Service
@Transactional(readOnly = true)
public class TbGoodsConsignmentCompanyService extends CrudService<TbGoodsConsignmentCompanyDao, TbGoodsConsignmentCompany> {
	/**
	 * 获取单条数据
	 * @param String
	 * @return TbGoodsConsignmentCompany
	 */
	public TbGoodsConsignmentCompany get(String id) {
		return super.get(id);
	}
	/**
	 * 查询列表数据
	 * @param TbGoodsConsignmentCompany
	 * @return List<TbGoodsConsignmentCompany>
	 */
	public List<TbGoodsConsignmentCompany> findList(TbGoodsConsignmentCompany tbGoodsConsignmentCompany) {
		return super.findList(tbGoodsConsignmentCompany);
	}
	/**
	 * 获取查询分页数据
	 * @param TbGoodsConsignmentCompany
	 * @param Page<TbGoodsConsignmentCompany>
	 * @return String
	 */
	public Page<TbGoodsConsignmentCompany> findPage(Page<TbGoodsConsignmentCompany> page, TbGoodsConsignmentCompany tbGoodsConsignmentCompany) {
		return super.findPage(page, tbGoodsConsignmentCompany);
	}
	/**
	 * 保存数据（插入或更新）
	 * @param TbGoodsConsignmentCompany
	 */
	@Transactional(readOnly = false)
	public void save(TbGoodsConsignmentCompany tbGoodsConsignmentCompany) {
		super.save(tbGoodsConsignmentCompany);
	}
	/**
	 * 删除数据
	 * @param TbGoodsConsignmentCompany
	 */
	@Transactional(readOnly = false)
	public void delete(TbGoodsConsignmentCompany tbGoodsConsignmentCompany) {
		super.delete(tbGoodsConsignmentCompany);
	}
	
}